package com.dk.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dk.pojo.Users;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2022-07-08
 */
public interface IUsersService extends IService<Users> {

    List<Users> login(String username,String password);

    IPage<Users> getUserList(Page<Users> page, Users users);
    List<Users> getUsersList(Users users);

}
